package factory

// Button按钮接口
type Button interface {
	OnClick() string
	Render() string
}

// TextField文本框接口
type TextField interface {
	Render() string
	Input(text string) string
}

// ComboBox下拉框接口
type ComboBox interface {
	Render() string
	Select(index int) string
}


// UIFactory 抽象工厂接口
type UIFactory interface {
	CreateButton() Button
	CreateTextField() TextField
	CreateComboBox() ComboBox
}
